import pymongo
import pymongo

client = pymongo.MongoClient("mongodb+srv://admin:9936@cluster0-nwbxb.mongodb.net/test?retryWrites=true&w=majority")
db = client.test

p=db.testset
person={
    'id':'0',
    'name':'12',

}
for i in p.find():
    print(i)
result=p.insert_one(person)

print(result)



# host=""